$(function() {
	
	/* add placeholder for input */
	$('input[placeholder]').each(function() {
		var input = $(this);
		$(input).val(input.attr('placeholder'));
		$(input).css('color','#999');
		$(input).focus(function() {
			if (input.val() == input.attr('placeholder')) {
				input.val('');
			}
			input.css('color','#000');
		});

		$(input).blur(function() {
			if (input.val() == '' || input.val() == input.attr('placeholder')) {
				input.val(input.attr('placeholder'));
				input.css('color','#999');
			}else
				input.css('color','#000');
		});
	});
	
	//******* CORNER *********
	$(".btn,.cor5").corner("5px");
			
	//******* PIE CSS3 *********
	if (window.PIE) {
		$('.fcss3').each(function() {
			PIE.attach(this);
		});
	}
	
});